<?php slot('header')?>

<?php end_slot()?>
<div class="box-navigation">
	<?php echo $data['navigation']?>
</div>
<div class="clr"></div>
<?php include_component('default', 'error');?>
<div class="clr"></div>
<div class="box-content">
	<form action="?action_name=<?php echo $data['action']?>" method="post" name="form_main" id="form-main">
		<?php echo $form['_csrf_token']?>
		<div class="clr"></div>
		<div class="box-content-main ">
			<div class="message"><?php echo empty($data['result'])?'':$data['result']?></div><div class="note">* is required.</div>
			<div class="clr"></div>
			<table class="table-list table-form" cellspacing="0" cellpadding="0" border="0">
				
				<tr class="class1">
					<td colspan="2">
						<div class="tabs">
							<ul>
								<?php foreach ($data['langs'] as $lang):?>
									<li><a href="#product-<?php echo $lang?>"><?php echo __($lang)?></a></li>
								<?php endforeach;?>
							</ul>
							<?php foreach ($data['langs'] as $lang):?>
							<div id="product-<?php echo $lang?>">
								<table class="table-list table-form" cellspacing="0" cellpadding="0" border="0">
									<tr class="class1">
										<td class="label"><?php echo __('product-env-title'), ' - ', __($lang)?></td>
										<td class="input">
											<?php echo $form['name_'.$lang]?>
										</td>
									</tr>
									<tr class="class1">
										<td class="label"><?php echo __('product-env-description'), ' - ', __($lang)?></td>
										<td class="input">
											<?php echo $form['description_'.$lang]?>
										</td>
									</tr>
									
								</table>
							</div>
							<?php endforeach;?>
							
						</div>
					</td>
				</tr>
				
				<tr class="class1">
					<td class="label"><?php echo __('is-enabled')?></td>
					<td class="input"><?php echo $form['is_enabled']?></td>
					
				</tr>
				<tr class="class1" style="background:#fff">
					<td class="label">&nbsp;</td>
					<td class="input"><input type="button" id="button-submit" name="button-submit" class="button hz-submit" data-form-id="form-main" value="<?php echo $data['button_action']?>"/></td>
					
				</tr>
			</table>
		</div>
		<div class="clr"></div>
		<div class="control-back"><a href="<?php echo $data['redirect']?>" title="<?php echo __('control_back')?>" alt="<?php echo __('control_back')?>"><?php echo __('control_back')?></a></div>
	</form>
</div>